package com.lin.springcloud.dao;

import com.lin.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ author:lin tingfeng
 * @ data:2021/10/9-16:24
 */
@Mapper
@Repository
public interface DeptDao {

    boolean addDept(Dept dept);

    Dept queryDeptById(Long id);

    List<Dept> queryDeptAll();

}

